#ifndef FINDDIALOG_H
#define FINDDIALOG_H

#include <QDialog>
#include <QMessageBox>

namespace Ui
{
    class FindDialog;
}

class FindDialog : public QDialog
{
    Q_OBJECT

public:
    explicit FindDialog(QWidget *parent = nullptr);
    ~FindDialog();
signals:
    void findtext(QString, bool, bool, bool);
private slots:
    void on_findnextButton_clicked();
    void on_cancelButton_clicked();
    void textChangeSlot(); //文本改变

private:
    Ui::FindDialog *ui;

    //显示消息
    void showMessage(QString title);
};

#endif // FINDDIALOG_H
